    <div class="nav-sub w1180">
    	<ul class="zoom">
    		<li><a class="on" href="/crm/order/index">订单管理</a></li>
    		<li><a href="/crm/order/refund">退货管理</a></li>
    	</ul>
    </div>
    <div class="main-ct w1180">
<!-- 		<a href="/crm/order" class="btn-cs btn-blue btn-fillet mt10">返 回</a> -->
		<form id="form1" method="post" action="/crm/order/save-order">
		<input type="hidden" name="order_id" value="<?php echo $this->order['order_id'];?>">
		<div class="top-bar">
			<label>订单状态：<select class="category-select" id="status" name="status">
				<option value="">未分类</option>
				<option value="1" <?php if($this->order['status'] == 1):?>selected<?php endif;?>>待付款</option>
				<option value="2" <?php if($this->order['status'] == 2):?>selected<?php endif;?>>待发货</option>
				<option value="3" <?php if($this->order['status'] == 3):?>selected<?php endif;?>>已发货</option>
				<option value="4" <?php if($this->order['status'] == 4):?>selected<?php endif;?>>已取消</option>
			</select></label>
		</div>

		<h3 class="tit-s">订单人信息：</h3>
		<div class="form-color zoom">
			<dl class="color-blue-01"><dt>收货地址</dt>
				<dd><input id="address" name="address" type="text" class="txt" value="<?php echo $this->order['address_info'];?>"></dd>
			</dl>
			<dl class="color-blue-01"><dt>详细地址</dt>
				<dd><input id="address_info" name="address_info" type="text" class="txt" value="<?php echo $this->order['address_info'];?>"></dd>
			</dl>
			<dl class="color-blue-01"><dt>姓 名</dt>
				<dd><input id="receiver_name" name="receiver_name" type="text" class="txt" value="<?php echo $this->order['receiver_name'];?>"></dd>
			</dl>
			<dl class="color-blue-01"><dt>联系方式</dt>
				<dd><input id="cellphone" name="cellphone" type="text" class="txt" value="<?php echo $this->order['cellphone'];?>"></dd>
			</dl>
			<dl class="color-blue-01"><dt>用户ID</dt>
				<dd><input id="user_id" name="user_id" type="text" class="txt" readonly="readonly" value="<?php echo $this->order['user_id'];?>"></dd>
			</dl>
			<dl class="color-blue-01"><dt>其 它</dt>
				<dd><input id="receiver_mark" name="receiver_mark" type="text" class="txt" value="<?php echo $this->order['receiver_mark'];?>"></dd>
			</dl>
		</div>

		<h3 class="tit-s mt20">订单信息：</h3>
		<div class="form-color form-color-s zoom">
			<dl class="color-blue-01"><dt>订单号</dt>
				<dd><input id="order_no" name="order_no"  type="text" class="txt" readonly="readonly" value="<?php echo $this->order['order_no'];?>"></dd>
			</dl>
			<dl class="color-blue-01"><dt>预定时间</dt>
				<dd><input id="order_create_time" name="order_create_time" type="text" class="txt" readonly="readonly" value="<?php echo $this->order['order_create_time'];?>"></dd>
			</dl>
			<dl class="color-blue-01"><dt>付款方式</dt>
				<dd><input id="receiver_mark" name="receiver_mark"  type="text" class="txt" value="<?php echo $this->order['receiver_mark'];?>"></dd>
			</dl>
			<dl class="color-blue-01"><dt>送货时间</dt>
				<dd><input id="send_time" name="send_time"  type="text" class="txt" onFocus="WdatePicker({isShowClear:true,readOnly:true,dateFmt:'yyyy-MM-dd HH:mm:ss'})" value="<?php echo $this->order['send_time'];?>"></dd>
			</dl>
			<dl class="color-blue-01"><dt>备注</dt>
				<dd><input id="order_mark" name="order_mark"  type="text" class="txt" value="<?php echo $this->order['order_mark'];?>"></dd>
			</dl>
			<dl class="color-blue-01"><dt>订单总价</dt>
				<dd><input id="order_total_price" name="order_total_price"  type="text" class="txt" readonly="readonly" value="<?php echo $this->order['order_total_price'];?>"></dd>
			</dl>
			<dl class="color-blue-01"><dt>折扣</dt>
				<dd><input id="discount" name="discount"  type="text" class="txt" readonly="readonly" value="<?php echo $this->order['discount'];?>"></dd>
			</dl>
			<?php if($this->order['order_type']==2):?>
			<dl class="color-blue-01"><dt>邮费</dt>
				<dd><input id="postage" name="postage"  type="text" class="txt" readonly="readonly" value="<?php echo $this->order['postage'];?>"></dd>
			</dl>
			<dl class="color-blue-01"><dt>快递名称</dt>
				<dd><input id="express_no" name="express_no"  type="text" class="txt" value="<?php echo $this->order['express_no'];?>"></dd>
			</dl>
			<dl class="color-blue-01"><dt>快递单号</dt>
				<dd><input id="express_name" name="express_name"  type="text" class="txt" value="<?php echo $this->order['express_name'];?>"></dd>
			</dl>
			<?php endif;?>
<!-- 			<dl class="color-blue-03"><dt>其 它</dt> -->
<!-- 				<dd><input type="text" class="txt"></dd> -->
<!-- 			</dl> -->
		</div>
		<p class="mt30 txt-center"><input class="input-cs btn-fillet btn-green" type="submit" value="确定"></p>
		</form>
		<h3 class="tit-s">商品信息：</h3>
		<table class="custom-table" cellpadding="0" cellspacing="0">
			<thead>
			<tr>
				<th class="th01">商品ID</th>
				<th class="th02">商品名称</th>
				<th class="th03">商品价格</th>
				<th class="th04">购买数量</th>
<!-- 				<th class="th02">商 户</th> -->
<!-- 				<th class="th05">卫生等级</th> -->
<!-- 				<th class="th03">商户logo</th> -->
<!-- 				<th class="th01">操 作</th> -->
			</tr>
			</thead>
			<tbody>
			<?php foreach ($this->orderItem as $item):?>
			<tr>
				<td><?php echo $item['product_id'];?></td>
				<td><?php echo $item['oi_name'];?></td>
				<td><?php echo $item['oi_price'];?></td>
				<td><?php echo $item['oi_amount'];?></td>
<!-- 				<td> -->
<!-- 					<a href="">修改</a>／<a href="">删除</a>／<a href="">新增商户</a> -->
<!-- 				</td> -->
			</tr>
			<?php endforeach;?>

			</tbody>
		</table>
	</div>
<script src="/plugins/My97DatePicker/WdatePicker.js"></script>
<script>
$().ready(function() {
	$("#form1").validate({
		debug:true,
		rules: {
			status: {
				required: true,
			},
	
		},
		submitHandler:function(form){  
            form.submit();
	    }
	});

});
</script>
